package com.kaiwukj.android.ufamily.mvp.http.entity.multi;

import com.chad.library.adapter.base.entity.MultiItemEntity;
import com.kaiwukj.android.ufamily.mvp.http.entity.helper.ServiceHistoryEntry;
import com.kaiwukj.android.ufamily.mvp.http.entity.result.ServiceGroupResult;

import java.util.List;

public class ServiceItemMultiEntity implements MultiItemEntity {

    public static final int ITEM_HISTORY = 1;
    public static final int ITEM_PROPERTY = 2;
    public static final int ITEM_GM = 3;
    public static final int ITEM_SERVICE = 4;
    public static final int ITEM_COMMUNITY_SERVICE = 5;

    private int itemType = 4;
    private List<ServiceHistoryEntry> historyEntry;
    private ServiceGroupResult serviceResult;

    public ServiceItemMultiEntity() {
    }

    public ServiceItemMultiEntity(int itemType) {
        this.itemType = itemType;
    }

    @Override
    public int getItemType() {
        return itemType;
    }

    public void setItemType(int itemType) {
        this.itemType = itemType;
    }

    public List<ServiceHistoryEntry> getHistoryEntry() {
        return historyEntry;
    }

    public void setHistoryEntry(List<ServiceHistoryEntry> historyEntry) {
        this.historyEntry = historyEntry;
    }

    public ServiceGroupResult getServiceResult() {
        return serviceResult;
    }

    public void setServiceResult(ServiceGroupResult serviceResult) {
        this.serviceResult = serviceResult;
    }
}
